package com.yingxue.demo.service;

import com.yingxue.demo.entity.Permission;
import com.yingxue.demo.vo.resp.PermissionTreeNodeRespVO;

import java.util.List;

/**
 * @Package: com.yingxue.demo.service
 * @Author: Mr.Waves
 * @Date: 2020-03-31 18:14
 * @Description:
 **/
public interface PermissionService {
    /*
     * 获取所有权限
     */
    List<Permission> listAll();

    /*
     * 获取菜单权限树
     */
    PermissionTreeNodeRespVO getPermissionTree();
}
